package com.miot.object.skill;

import java.util.List;

/**
 * @Author: zhangyanbin
 * @Date: 2019/2/12 19:25
 * @Version 1.0
 */
public class SkillBean {

    /**
     * skills : [{"modifyTime":0,"hitCount":0,"createTime":0,"appid":"34076967515066368","curUserLiked":false,"id":"0","trigger":{"op":"or","items":[{"type":0,"value":"saodi31"},{"type":0,"value":"saodi32"}]},"likedCount":0,"type":1,"results":[{"type":3,"value":"valueOfResult"}],"userid":0,"status":0},{"modifyTime":0,"hitCount":0,"createTime":0,"appid":"34076967515066368","curUserLiked":false,"id":"0","trigger":{"op":"or","items":[{"type":0,"value":"saodi41"},{"type":0,"value":"saodi42"}]},"likedCount":0,"type":1,"results":[{"type":3,"value":"valueOfResult"}],"userid":0,"status":0}]
     * count : 2
     */

    private int count;
    private List<SkillsBean> skills;

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public List<SkillsBean> getSkills() {
        return skills;
    }

    public void setSkills(List<SkillsBean> skills) {
        this.skills = skills;
    }

    public static class SkillsBean {
        /**
         * modifyTime : 0
         * hitCount : 0
         * createTime : 0
         * appid : 34076967515066368
         * curUserLiked : false
         * id : 0
         * trigger : {"op":"or","items":[{"type":0,"value":"saodi31"},{"type":0,"value":"saodi32"}]}
         * likedCount : 0
         * type : 1
         * results : [{"type":3,"value":"valueOfResult"}]
         * userid : 0
         * status : 0
         */

        private int modifyTime;
        private int hitCount;
        private int createTime;
        private String appid;
        private boolean curUserLiked;
        private String id;
        private TriggerBean trigger;
        private int likedCount;
        private String type;
        private int userid;
        private int status;
        private List<ResultsBean> results;

        public int getModifyTime() {
            return modifyTime;
        }

        public void setModifyTime(int modifyTime) {
            this.modifyTime = modifyTime;
        }

        public int getHitCount() {
            return hitCount;
        }

        public void setHitCount(int hitCount) {
            this.hitCount = hitCount;
        }

        public int getCreateTime() {
            return createTime;
        }

        public void setCreateTime(int createTime) {
            this.createTime = createTime;
        }

        public String getAppid() {
            return appid;
        }

        public void setAppid(String appid) {
            this.appid = appid;
        }

        public boolean isCurUserLiked() {
            return curUserLiked;
        }

        public void setCurUserLiked(boolean curUserLiked) {
            this.curUserLiked = curUserLiked;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public TriggerBean getTrigger() {
            return trigger;
        }

        public void setTrigger(TriggerBean trigger) {
            this.trigger = trigger;
        }

        public int getLikedCount() {
            return likedCount;
        }

        public void setLikedCount(int likedCount) {
            this.likedCount = likedCount;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public int getUserid() {
            return userid;
        }

        public void setUserid(int userid) {
            this.userid = userid;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public List<ResultsBean> getResults() {
            return results;
        }

        public void setResults(List<ResultsBean> results) {
            this.results = results;
        }

        public static class TriggerBean {
            /**
             * op : or
             * items : [{"type":0,"value":"saodi31"},{"type":0,"value":"saodi32"}]
             */

            private String op;
            private List<ItemsBean> items;

            public String getOp() {
                return op;
            }

            public void setOp(String op) {
                this.op = op;
            }

            public List<ItemsBean> getItems() {
                return items;
            }

            public void setItems(List<ItemsBean> items) {
                this.items = items;
            }

            public static class ItemsBean {
                /**
                 * type : 0
                 * value : saodi31
                 */

                private String type;
                private String value;

                public String getType() {
                    return type;
                }

                public void setType(String type) {
                    this.type = type;
                }

                public String getValue() {
                    return value;
                }

                public void setValue(String value) {
                    this.value = value;
                }
            }
        }

        public static class ResultsBean {
            /**
             * type : 3
             * value : valueOfResult
             */

            private String type;
            private String value;

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public String getValue() {
                return value;
            }

            public void setValue(String value) {
                this.value = value;
            }
        }
    }
}
